function save() {
	jQuery.ajax({
		url : rootPath + '/case/addEntity.shtml',
		data : $("#caseform").serialize(),
		type : "POST",
		success : function(data) {
			data = eval(data);
			if (data == 'success') {
				layer.msg("保存成功！");
			} else {
				layer.msg("保存失败！");
			}
		}
	});
}
function windowOpener(loadpos) {
	controlWindow = window
			.open(loadpos,
					"surveywin",
					"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=800,height=600"
					);
}